import React, {Component} from 'react';
import RootScreen from "./src/screen/RootScreen";
import Storage from 'react-native-storage';
import {AsyncStorage} from 'react-native';

var storage = new Storage({
  size: 1000,
  storageBackend: AsyncStorage,
  defaultExpires: null,
  enableCache: true,
});

global.storage = storage;

export default class App extends Component {
  render() {
    return (
      <RootScreen/>
    );
  }
}